Optimal. Leaf size=112 \[ \frac {14 c x}{9}-\frac {2}{27} a^2 c x^3-\frac {4 c \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{3 a}+\frac {2 c (-1+a x)^{3/2} (1+a x)^{3/2} \cosh ^{-1}(a x)}{9 a}+\frac {2}{3} c x \cosh ^{-1}(a x)^2+\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {5897, 5879,
5915, 8, 41} \begin {gather*} -\frac {2}{27} a^2 c x^3+\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2+\frac {2}{3} c x \cosh ^{-1}(a x)^2+\frac {2 c (a x-1)^{3/2} (a x+1)^{3/2} \cosh ^{-1}(a x)}{9 a}-\frac {4 c \sqrt {a x-1} \sqrt {a x+1} \cosh ^{-1}(a x)}{3 a}+\frac {14 c x}{9} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 41
Rule 5879
Rule 5897
Rule 5915
Rubi steps
\begin {align*} \int \left (c-a^2 c x^2\right ) \cosh ^{-1}(a x)^2 \, dx &=\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2+\frac {1}{3} (2 c) \int \cosh ^{-1}(a x)^2 \, dx+\frac {1}{3} (2 a c) \int x \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x) \, dx\\ &=\frac {2 c (-1+a x)^{3/2} (1+a x)^{3/2} \cosh ^{-1}(a x)}{9 a}+\frac {2}{3} c x \cosh ^{-1}(a x)^2+\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2-\frac {1}{9} (2 c) \int \left (-1+a^2 x^2\right ) \, dx-\frac {1}{3} (4 a c) \int \frac {x \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx\\ &=\frac {2 c x}{9}-\frac {2}{27} a^2 c x^3-\frac {4 c \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{3 a}+\frac {2 c (-1+a x)^{3/2} (1+a x)^{3/2} \cosh ^{-1}(a x)}{9 a}+\frac {2}{3} c x \cosh ^{-1}(a x)^2+\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2+\frac {1}{3} (4 c) \int 1 \, dx\\ &=\frac {14 c x}{9}-\frac {2}{27} a^2 c x^3-\frac {4 c \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{3 a}+\frac {2 c (-1+a x)^{3/2} (1+a x)^{3/2} \cosh ^{-1}(a x)}{9 a}+\frac {2}{3} c x \cosh ^{-1}(a x)^2+\frac {1}{3} c x \left (1-a^2 x^2\right ) \cosh ^{-1}(a x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 73, normalized size = 0.65 \begin {gather*} \frac {c \left (42 a x-2 a^3 x^3+6 \sqrt {-1+a x} \sqrt {1+a x} \left (-7+a^2 x^2\right ) \cosh ^{-1}(a x)-9 a x \left (-3+a^2 x^2\right ) \cosh ^{-1}(a x)^2\right )}{27 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.18, size = 90, normalized size = 0.80 \[-\frac {c \left (9 \mathrm {arccosh}\left (a x \right )^{2} x^{3} a^{3}-6 \,\mathrm {arccosh}\left (a x \right ) \sqrt {a x -1}\, \sqrt {a x +1}\, x^{2} a^{2}+2 a^{3} x^{3}-27 \mathrm {arccosh}\left (a x \right )^{2} a x +42 \,\mathrm {arccosh}\left (a x \right ) \sqrt {a x -1}\, \sqrt {a x +1}-42 a x \right )}{27 a}\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 76, normalized size = 0.68 \begin {gather*} -\frac {2}{27} \, a^{2} c x^{3} + \frac {2}{9} \, {\left (\sqrt {a^{2} x^{2} - 1} c x^{2} - \frac {7 \, \sqrt {a^{2} x^{2} - 1} c}{a^{2}}\right )} a \operatorname {arcosh}\left (a x\right ) - \frac {1}{3} \, {\left (a^{2} c x^{3} - 3 \, c x\right )} \operatorname {arcosh}\left (a x\right )^{2} + \frac {14}{9} \, c x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 95, normalized size = 0.85 \begin {gather*} -\frac {2 \, a^{3} c x^{3} - 42 \, a c x + 9 \, {\left (a^{3} c x^{3} - 3 \, a c x\right )} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )^{2} - 6 \, {\left (a^{2} c x^{2} - 7 \, c\right )} \sqrt {a^{2} x^{2} - 1} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )}{27 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.20, size = 105, normalized size = 0.94 \begin {gather*} \begin {cases} - \frac {a^{2} c x^{3} \operatorname {acosh}^{2}{\left (a x \right )}}{3} - \frac {2 a^{2} c x^{3}}{27} + \frac {2 a c x^{2} \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}{\left (a x \right )}}{9} + c x \operatorname {acosh}^{2}{\left (a x \right )} + \frac {14 c x}{9} - \frac {14 c \sqrt {a^{2} x^{2} - 1} \operatorname {acosh}{\left (a x \right )}}{9 a} & \text {for}\: a \neq 0 \\- \frac {\pi ^{2} c x}{4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {acosh}\left (a\,x\right )}^2\,\left (c-a^2\,c\,x^2\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________